package com.ggj2013.hbh.utils;
import nme.display.Sprite;

/**
 * @author Drew Nicolo
 */
class HitBox extends Sprite
{
	//Declare variables
	public var isActive:Bool;

	public function new(_width:Float, _height:Float, _color: Int = 0x000000) 
	{
		super();

		graphics.beginFill( _color);
		graphics.drawRect( 0, 0, _width, _height );
		graphics.endFill();
		#if debug
			alpha = 0.5;
		#else
			alpha = 0;
		#end
		
		isActive = true;
	}
	
}